Commit 913790b1 authored by Nicolas Schmid's avatar Nicolas Schmid
Browse files

devops: update compose

parent 10354616
version: "3.4"
version: "3.8"
services:
web:
build:
context: "."
target: "app"
image: ${TAG_COMMIT}
# build:
# context: "."
# target: "app"
env_file:
- ".env"
restart: "${DOCKER_RESTART_POLICY:-unless-stopped}"
stop_grace_period: "3s"
tty: true
deploy:
resources:
limits:
cpus: "${DOCKER_WEB_CPUS:-0}"
memory: "${DOCKER_WEB_MEMORY:-0}"
ports:
- "${DOCKER_WEB_PORT:-127.0.0.1:8000}:8000"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment