2019-07-16 23:32:45 +02:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
db:
|
|
|
|
image: postgres
|
|
|
|
container_name: postgres
|
|
|
|
volumes:
|
2020-10-30 17:52:41 +01:00
|
|
|
- ./postgres:/var/lib/postgresql/data
|
2019-07-16 23:32:45 +02:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=gancio
|
|
|
|
- POSTGRES_DB=gancio
|
|
|
|
- POSTGRES_PASSWORD=gancio
|
2020-11-03 23:37:28 +01:00
|
|
|
- PGDATA=/var/lib/postgresql/data
|
2019-07-16 23:32:45 +02:00
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 5432:5432
|
|
|
|
gancio:
|
|
|
|
build: .
|
|
|
|
image: node:latest
|
2019-10-02 15:47:47 +02:00
|
|
|
environment:
|
|
|
|
- DEBUG=*,-babel,-follow-redirects,-send,-body-parser:*,-express:*,-connect:*,-sequelize:*
|
2019-07-16 23:32:45 +02:00
|
|
|
container_name: gancio
|
2019-09-25 14:38:16 +02:00
|
|
|
restart: always
|
2019-09-26 17:02:09 +02:00
|
|
|
command: gancio start --docker --db=postgres
|
2019-07-16 23:32:45 +02:00
|
|
|
volumes:
|
2019-08-05 01:28:31 +02:00
|
|
|
- ./config.json:/opt/gancio/config.json
|
|
|
|
- ./uploads:/opt/gancio/uploads
|
2019-08-06 01:12:05 +02:00
|
|
|
depends_on:
|
2019-07-16 23:32:45 +02:00
|
|
|
- db
|
|
|
|
ports:
|
2020-10-30 17:52:41 +01:00
|
|
|
- 127.0.0.1:13120:13120
|