Browse Source

added docker-compose file with mariadb

pull/2274/head
Justin Garrison 9 years ago
parent
commit
6517b10a0e
  1. 22
      docker/docker-compose.yml

22
docker/docker-compose.yml

@ -0,0 +1,22 @@
gogs:
image: gogs/gogs:latest
links:
- db
volumes:
- /var/gogs:/data
ports:
- "10080:3000"
- "10022:22"
environment:
DB_TYPE: mysql
HOST: db
NAME: gogs
USER: gogs
PASSWD: changeme
db:
image: library/mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: changeme
MYSQL_DATABASE: gogs
MYSQL_USER: gogs
MYSQL_PASSWORD: changeme
Loading…
Cancel
Save