provide sample docker-compose.yml

mime-types-and-security
neri 11 months ago
parent 5a933641a4
commit e568919641
  1. 8
      docker-compose.yml.sample

@ -4,11 +4,11 @@ services:
build: .
container_name: datatrash
volumes:
- /data/datatrash/files:/opt/datatrash/files
- /var/datatrash/files:/opt/datatrash/files
environment:
DATABASE_HOST: db
DATABASE_USER: datatrash
DATABASE_PASS: jNmLZYr75as0W5TY7iSaIEVPSa2awaWAAgC5Zt8JsRAXbYrscLW4Dk7ZxHL1Bu4v
DATABASE_PASS: database_password
UPLOAD_MAX_BYTES: 1073741824
AUTH_PASSWORD: auth_password
NO_AUTH_MAX_TIME: 604800
@ -24,11 +24,11 @@ services:
image: postgres
container_name: datatrash-db
volumes:
- /data/datatrash/db:/var/lib/postgresql/data
- /var/datatrash/db:/var/lib/postgresql/data
environment:
POSTGRES_DB: datatrash
POSTGRES_USER: datatrash
POSTGRES_PASSWORD: jNmLZYr75as0W5TY7iSaIEVPSa2awaWAAgC5Zt8JsRAXbYrscLW4Dk7ZxHL1Bu4v
POSTGRES_PASSWORD: database_password
restart: unless-stopped
networks:
- default
Loading…
Cancel
Save