mirror of https://github.com/gogits/gogs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
387 B
23 lines
387 B
9 years ago
|
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
|