This commit is contained in:
les
2019-09-25 14:51:38 +02:00
parent 575bb93ad1
commit 4b78253f77
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
version: '3'
services:
db:
image: postgres
container_name: postgres
volumes:
- db:/var/lib/postgres
- /etc/localtime:/etc/localtime:ro
environment:
- POSTGRES_USER=gancio
- POSTGRES_DB=gancio
- POSTGRES_PASSWORD=gancio
restart: always
ports:
- 5432:5432
gancio:
build: .
image: node:latest
container_name: gancio
restart: always
command: gancio start --docker --db=postgresql
volumes:
- ./config.json:/opt/gancio/config.json
- ./uploads:/opt/gancio/uploads
depends_on:
- db
ports:
- "localhost:13120:13120"