Skip to content

Commit a273bd5

Browse files
committed
Feat: Add compose for local development and Traefik deployment
1 parent efc7f81 commit a273bd5

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

compose.local.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
services:
2+
web:
3+
ports:
4+
- 8080:80
5+
app: &local-default
6+
build: ./context/default
7+
# volumes:
8+
# - ./context/default/entrypoint.sh:/pretalx/entrypoint.sh:z
9+
# - ./config/pretalx.cfg:/pretalx/.pretalx.cfg:z
10+
worker: *local-default
11+
cron: *local-default
12+
migrations: *local-default

compose.traefik.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
networks:
2+
web:
3+
external: true
4+
5+
services:
6+
web:
7+
networks:
8+
- web
9+
labels:
10+
traefik.enable: true
11+
traefik.http.routers.local-localhost.rule: Host(`${FQDN}`)
12+
traefik.http.routers.local-localhost.tls: true
13+
traefik.http.routers.local-localhost.tls.certresolver: letsencrypt

0 commit comments

Comments
 (0)