update docker compose for npm

This commit is contained in:
Matthias Lotz 2026-04-12 16:48:50 +02:00
parent 9da19bc533
commit fbe3ac41d2

View File

@ -24,8 +24,9 @@ services:
mailpit:
image: axllent/mailpit:latest
restart: unless-stopped
ports:
- "127.0.0.1:8025:8025"
networks:
- default
- npm-nw
pretix:
image: pretix/standalone:stable
@ -37,11 +38,14 @@ services:
condition: service_started
mailpit:
condition: service_started
ports:
- "127.0.0.1:8345:80"
networks:
- default
- npm-nw
environment:
PRETIX_PRETIX_INSTANCE_NAME: "pretix Testinstanz"
PRETIX_PRETIX_URL: "http://localhost:8345"
PRETIX_PRETIX_URL: "https://pretix.test.hobbyhimmel.de"
PRETIX_PRETIX_TRUST_X_FORWARDED_FOR: "on"
PRETIX_PRETIX_TRUST_X_FORWARDED_PROTO: "on"
PRETIX_PRETIX_CURRENCY: "EUR"
PRETIX_PRETIX_DATADIR: "/data"
PRETIX_LOCALE_DEFAULT: "de"
@ -79,7 +83,7 @@ services:
condition: service_started
environment:
PRETIX_PRETIX_INSTANCE_NAME: "pretix Testinstanz"
PRETIX_PRETIX_URL: "http://localhost:8345"
PRETIX_PRETIX_URL: "https://pretix.test.hobbyhimmel.de"
PRETIX_PRETIX_CURRENCY: "EUR"
PRETIX_PRETIX_DATADIR: "/data"
PRETIX_LOCALE_DEFAULT: "de"
@ -110,4 +114,9 @@ services:
volumes:
postgres-data:
redis-data:
pretix-data:
pretix-data:
networks:
default:
npm-nw:
external: true