update docker
This commit is contained in:
parent
8095a71fc1
commit
0548ae4f47
|
@ -4,11 +4,11 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: allAndOne
|
container_name: allAndOne
|
||||||
|
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
ports:
|
ports:
|
||||||
- '3000:3000'
|
- "3000:3000"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
- /app/node_modules
|
- /app/node_modules
|
||||||
|
@ -29,7 +29,11 @@ services:
|
||||||
|
|
||||||
# Enable www redirection for HTTP and HTTPS
|
# Enable www redirection for HTTP and HTTPS
|
||||||
- traefik.http.routers.frontend-https.middlewares=www-redirect
|
- traefik.http.routers.frontend-https.middlewares=www-redirect
|
||||||
- traefik.http.routers.frontend-http.middlewares=https-redirect,www-redirect
|
- traefik.http.routers.frontend-http.middlewares=https-redirect,www-redirect
|
||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
- default
|
- default
|
||||||
|
networks:
|
||||||
|
traefik-public:
|
||||||
|
# Allow setting it to false for testing
|
||||||
|
external: true
|
||||||
|
|
Loading…
Reference in New Issue