Skip to content

Commit

Permalink
Remove deployment specifics
Browse files Browse the repository at this point in the history
  • Loading branch information
trickeydan committed Jan 16, 2024
1 parent 4750c54 commit f6af27e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
kmicms/kmicms/configuration.py
kmicms/db.sqlite
static/CACHE/
wagtail-static/CACHE/
docker-compose.override.yml

### Django ###
*.log
Expand All @@ -12,6 +13,7 @@ db.sqlite3
db.sqlite
db.sqlite3-journal
media
wagtail-media

# If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/
# in your Git repository. Update and uncomment the following line accordingly.
Expand Down
16 changes: 0 additions & 16 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,6 @@ services:
- mediafiles:/app/media
depends_on:
- web
networks:
- traefik
- default
labels:
- "traefik.enable=true"
- "traefik.http.routers.wagtail.rule=Host(`suws-staging.containers-1.sown.org.uk`) || Host(`sown-staging.containers-1.sown.org.uk`) || Host(`cms.containers-1.sown.org.uk`)"
- "traefik.http.routers.wagtail.tls=true"
- "traefik.http.routers.wagtail.tls.certresolver=le"
- "traefik.http.services.wagtail.loadbalancer.server.port=80"
- "traefik.http.services.wagtail.loadbalancer.server.scheme=http"
- "traefik.http.services.wagtail.loadbalancer.serverstransport=https_ignore@file"

web:
build:
context: .
Expand Down Expand Up @@ -69,7 +57,3 @@ volumes:
redis_data:
staticfiles:
mediafiles:

networks:
traefik:
external: true

0 comments on commit f6af27e

Please sign in to comment.