Skip to content

Commit 9228a96

Browse files
Linda PengLinda Peng
authored andcommitted
Simplify the docker-compose-staging.yaml file -- remove references to proxy
1 parent b17ef1c commit 9228a96

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

project/docker-compose-staging.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ version: "3"
33
services:
44
app_staging:
55
image: "docker.pkg.github.com/codebuddies/backend/cb-backend:$CB_IMAGE_TAG"
6-
labels:
7-
- "traefik.http.routers.https_to_stage.rule=Host(`api-staging.codebuddies.org`)"
8-
- "traefik.http.routers.https_to_stage.tls=true"
9-
- "traefik.http.routers.https_to_stage.tls.certresolver=letsencrypt"
10-
- "traefik.http.routers.https_to_stage.entrypoints=https"
11-
- "traefik.http.routers.http_to_stage.rule=Host(`api-staging.codebuddies.org`)"
12-
- "traefik.http.routers.http_to_stage.entrypoints=http"
136
container_name: staging-app
147
restart: on-failure
158
command: >
@@ -22,10 +15,3 @@ services:
2215
- DJANGO_SECRET_KEY=${DJANGO_SECRET_KEY}
2316
- DJANGO_ADMIN_URL=admin/
2417
- DJANGO_ALLOWED_HOSTS=${DJANGO_ALLOWED_HOSTS}
25-
- DJANGO_SECURE_SSL_REDIRECT=True
26-
networks:
27-
- cb_staging
28-
29-
networks:
30-
cb_staging:
31-
external: true

0 commit comments

Comments
 (0)