stash-box
This commit is contained in:
@@ -40,3 +40,53 @@ services:
|
||||
## Where to store generated content (screenshots,previews,transcodes,sprites)
|
||||
- ./generated:/generated
|
||||
- ./cron/15min:/etc/periodic/15min
|
||||
|
||||
postgres:
|
||||
container_name: postgres-stash-box
|
||||
build: ./postgres
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: asdf1234
|
||||
POSTGRES_DB: postgres
|
||||
volumes:
|
||||
- ./pgdata:/var/lib/postgresql/data
|
||||
|
||||
stash-box:
|
||||
container_name: stash-box
|
||||
image: stashapp/stash-box:development
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-file: "10"
|
||||
max-size: "2m"
|
||||
links:
|
||||
- postgres
|
||||
volumes:
|
||||
- ./stash-box-config:/root/.stash-box
|
||||
# labels:
|
||||
# - traefik.http.routers.stash-box.rule=Host(`<DOMAIN>`)
|
||||
# - traefik.http.routers.stash-box.tls=true
|
||||
# - traefik.http.routers.stash-box.tls.certresolver=stash-box
|
||||
# - traefik.port=9998
|
||||
|
||||
# traefik:
|
||||
# container_name: traefik
|
||||
# image: traefik:2.3
|
||||
# restart: unless-stopped
|
||||
# ports:
|
||||
# - 80:80
|
||||
# - 443:443
|
||||
# command:
|
||||
# - "--entrypoints.web.address=:80"
|
||||
# - "--entrypoints.websecure.address=:443"
|
||||
# - "--entryPoints.web.http.redirections.entryPoint.to=websecure"
|
||||
# - "--entryPoints.web.http.redirections.entryPoint.scheme=https"
|
||||
# - "--providers.docker=true"
|
||||
# - "--certificatesResolvers.stash-box.acme.email=<EMAIL>"
|
||||
# - "--certificatesResolvers.stash-box.acme.storage=/acme.json"
|
||||
# - "--certificatesresolvers.stash-box.acme.tlschallenge=true"
|
||||
# volumes:
|
||||
# - /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
# - /traefik/acme.json:/acme.json
|
||||
Reference in New Issue
Block a user