The auth-data volume in docker-compose.yml had "dirver" instead of "driver", which would cause Docker to fail when creating the volume.
37 lines
764 B
YAML
37 lines
764 B
YAML
# Docker Compose example for auth-proxy
|
|
#
|
|
# This file is a minimal example. Adjust the environment variables
|
|
# and volumes to match your setup.
|
|
|
|
services:
|
|
auth-proxy:
|
|
build: .
|
|
image: yejayekhoob/auth-proxy:latest
|
|
container_name: auth-proxy
|
|
restart: unless-stopped
|
|
expose:
|
|
- "8080"
|
|
environment:
|
|
AUTH_PROXY_PORT: "8080"
|
|
AUTH_PROXY_API_TOKEN: "${AUTH_PROXY_API_TOKEN:-CHANGE_ME}"
|
|
DATA_DIR: "/data"
|
|
AUTH_PROXY_DB_PATH: "/data/auth-proxy.db"
|
|
volumes:
|
|
- auth-data:/data
|
|
networks:
|
|
- proxy_net
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
|
|
volumes:
|
|
auth-data:
|
|
driver: local
|
|
|
|
networks:
|
|
proxy_net:
|
|
external: true |