You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

33 lines
914 B

version: '3'
services:
ego:
build:
context: .
dockerfile: Dockerfile.ego
restart: "no"
image: ego:latest
container_name: ego
command: chown -R gancio:gancio /opt/gancio/config.json /opt/gancio/db.sqlite /opt/gancio/uploads
volumes:
- ./db.sqlite:/opt/gancio/db.sqlite
- ./config.json:/opt/gancio/config.json
- ./uploads:/opt/gancio/uploads
gancio:
build:
context: .
dockerfile: Dockerfile.gancio
depends_on:
- ego
restart: always
image: gancio:latest
container_name: gancio
command: gancio start --docker --db=sqlite
environment:
- DEBUG=*,-babel,-follow-redirects,-send,-body-parser:*,-express:*,-connect:*,-sequelize:*
volumes:
- ./db.sqlite:/opt/gancio/db.sqlite
- ./config.json:/opt/gancio/config.json
- ./uploads:/opt/gancio/uploads
ports:
- "127.0.0.1:13120:13120"