Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions docker/production/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,25 @@ version: '3.8'

services:
postgres:
container_name: postgres
image: stashapp/postgres:latest
build: ./postgres
restart: always
environment:
POSTGRES_USER: <USER>
POSTGRES_PASSWORD: <PASSWORD>
POSTGRES_DB: <DATABASE>
POSTGRES_INITDB_ARGS: "--auth-host=scram-sha-256 --auth-local=scram-sha-256"
volumes:
- /pgdata:/var/lib/postgresql/data

stash-box:
container_name: stash-box
image: stashapp/stash-box:development
restart: always
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "2m"
links:
- postgres
volumes:
- <CONFIG_DIR>:/root/.stash-box
labels:
Expand All @@ -32,7 +30,6 @@ services:
- traefik.port=9998

traefik:
container_name: traefik
image: traefik:2.3
restart: always
ports:
Expand Down