gancio-upstream/docs/docker/postgres/docker-compose.yml

34 lines
726 B
YAML
Raw Normal View History

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: .
2019-09-25 14:38:16 +02:00
restart: always
image: node:buster
user: node
container_name: gancio
environment:
- PATH=$PATH:/home/node/.yarn/bin
- GANCIO_DATA=/home/node/data
command: gancio start --docker
2019-07-16 23:32:45 +02:00
volumes:
- ./data:/home/node/data
ports:
- "127.0.0.1:13120:13120"
2019-08-06 01:12:05 +02:00
depends_on:
2019-07-16 23:32:45 +02:00
- db