mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
32 lines
656 B
YAML
32 lines
656 B
YAML
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
|
|
command: gancio start --docker
|
|
volumes:
|
|
- ./db.sqlite:/opt/gancio/db.sqlite
|
|
- ./config.json:/opt/gancio/config.json
|
|
- ./uploads:/opt/gancio/uploads
|
|
depends_on:
|
|
- db
|
|
ports:
|
|
- 13120:13120
|
|
volumes:
|
|
db:
|
|
gancio:
|