Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compose modernization and added ref to Stash pHash compat img. #591

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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