Files
alice-backend/deploy/compose.yaml
T

30 lines
544 B
YAML

services:
backend:
build:
context: ..
env_file: ../.env
volumes:
- ../data:/data
networks:
web:
aliases: [alice-backend]
restart: unless-stopped
init: true
read_only: true
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
mem_limit: 192m
cpus: 0.75
pids_limit: 64
labels:
com.centurylinklabs.watchtower.enable: "false"
logging:
driver: json-file
options:
max-size: "2m"
max-file: "2"
networks:
web:
external: true