mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
Docker mix and match setup
Rewrite of the docker setup. Now uses fig to manage containers and container linkage. The base is a block based mix and match, which will give you the possibility to easily test all configurations.
This commit is contained in:
6
docker/blocks/option_db_postgresql/config
Normal file
6
docker/blocks/option_db_postgresql/config
Normal file
@ -0,0 +1,6 @@
|
||||
[database]
|
||||
DB_TYPE = postgres
|
||||
HOST = ${DB_1_PORT_5432_TCP_ADDR}:${DB_1_PORT_5432_TCP_PORT}
|
||||
NAME = ${DB_1_ENV_POSTGRESQL_DB}
|
||||
USER = ${DB_1_ENV_POSTGRESQL_USER}
|
||||
PASSWD = ${DB_1_ENV_POSTGRESQL_PASS}
|
6
docker/blocks/option_db_postgresql/fig
Normal file
6
docker/blocks/option_db_postgresql/fig
Normal file
@ -0,0 +1,6 @@
|
||||
db:
|
||||
image: wyaeld/postgres:9.3
|
||||
environment:
|
||||
POSTGRESQL_DB: gogs
|
||||
POSTGRESQL_USER: gogs
|
||||
POSTGRESQL_PASS: password
|
Reference in New Issue
Block a user