docker-compose.yml: do not hardcode values

This commit is contained in:
Adhityaa 2018-06-11 00:25:26 +05:30
parent 442e3e44de
commit b2b7f59356

View File

@ -2,11 +2,11 @@ version: '3'
services: services:
server: server:
build: . image: registry.gitlab.com/commento/commento-ce
ports: ports:
- 8080:8080 - 8080:8080
environment: environment:
COMMENTO_ORIGIN: http://192.168.0.172:8080 COMMENTO_ORIGIN: http://commento.example.com:8080
COMMENTO_PORT: 8080 COMMENTO_PORT: 8080
COMMENTO_POSTGRES: postgres://postgres:postgres@db:5432/commento?sslmode=disable COMMENTO_POSTGRES: postgres://postgres:postgres@db:5432/commento?sslmode=disable
depends_on: depends_on: