restart always, and add to the traefik_default
network
This commit is contained in:
parent
4f7ce92ded
commit
034ebc6793
|
@ -2,9 +2,13 @@ version: '3'
|
|||
services:
|
||||
server:
|
||||
image: 'nginx:latest'
|
||||
restart: always
|
||||
ports:
|
||||
- "1704:80"
|
||||
volumes:
|
||||
- './public:/usr/share/nginx/html'
|
||||
- './nginx.conf:/etc/nginx/conf.d/default.conf'
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: traefik_default
|
||||
external: true
|
||||
|
|
Loading…
Reference in a new issue