This commit is contained in:
@@ -1,15 +1,24 @@
|
||||
services:
|
||||
app:
|
||||
image: 167.17.181.201:5000/me:latest
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- VIRTUAL_HOST=dusiburg.ru
|
||||
- VIRTUAL_PORT=80
|
||||
image: ${IMAGE}
|
||||
container_name: me-app
|
||||
networks:
|
||||
- nginx-proxy
|
||||
- proxy
|
||||
expose:
|
||||
- 80
|
||||
environment:
|
||||
- VIRTUAL_HOST=${VIRTUAL_HOST}
|
||||
- VIRTUAL_PORT=${VIRTUAL_PORT}
|
||||
- LETSENCRYPT_HOST=${LETSENCRYPT_HOST}
|
||||
- LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL}
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost:80/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
networks:
|
||||
nginx-proxy:
|
||||
proxy:
|
||||
external: true
|
||||
Reference in New Issue
Block a user