Prepared all containers for final rollout

This commit is contained in:
2023-08-08 20:23:18 +01:00
parent 7a553128b1
commit 381a1126e2
7 changed files with 47 additions and 69 deletions

View File

@ -4,10 +4,14 @@ services:
#Websites luke-else.co.uk (8000) snexo.co.uk (8001)
luke-else.co.uk:
image: "php:apache"
image: "nginx:latest"
container_name: luke-else.co.uk
volumes:
- ./luke-else.co.uk/:/var/www/html
- ./luke-else.co.uk/:/usr/share/nginx/html
networks:
- proxy
depends_on:
- traefik
labels:
## Expose luke-else Through Trefik ##
- "traefik.enable=true" # <== Enable traefik to proxy this container
@ -22,6 +26,10 @@ services:
container_name: snexo.co.uk
volumes:
- ./snexo.co.uk/:/var/www/html
networks:
- proxy
depends_on:
- traefik
labels:
## Expose Snexo Through Trefik ##
- "traefik.enable=true" # <== Enable traefik to proxy this container
@ -32,5 +40,5 @@ services:
restart: unless-stopped
networks:
frontend:
proxy:
external: true