aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorJoshua Delsman <voxxit@users.noreply.github.com>2015-03-10 07:06:10 -0700
committerJoshua Delsman <voxxit@users.noreply.github.com>2015-03-10 07:06:10 -0700
commit406efbf3f543f6f5911a6c6d4da3b9f002d5023a (patch)
tree430d0f010b3cc455f305803ef4768be57c702dac /docker-compose.yml
parent5e763baa12e346f8eb577073399068802fa5d67a (diff)
downloadgitea-406efbf3f543f6f5911a6c6d4da3b9f002d5023a.tar.gz
gitea-406efbf3f543f6f5911a6c6d4da3b9f002d5023a.zip
Adding a project-level Dockerfile & docker-compose script
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000000..4e33089531
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,12 @@
+web:
+ build: .
+ links:
+ - mysql
+ ports:
+ - "3000:3000"
+
+mysql:
+ image: mysql
+ environment:
+ - MYSQL_ROOT_PASSWORD=gogs
+ - MYSQL_DATABASE=gogs