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