Prepared all containers for final rollout
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user