services: web: image: ${IMAGE} container_name: fullhouse-web restart: unless-stopped pull_policy: always ports: - "${HOST_PORT:-3080}:80" depends_on: - api api: image: ${IMAGE}-api container_name: fullhouse-api restart: unless-stopped pull_policy: always environment: PORT: 3010 SPOTIFY_CLIENT_ID: ${SPOTIFY_CLIENT_ID} SPOTIFY_CLIENT_SECRET: ${SPOTIFY_CLIENT_SECRET} SPOTIFY_HOST_REDIRECT_URI: ${SPOTIFY_HOST_REDIRECT_URI} volumes: # Named volume — holds the host's Spotify refresh token. Without # it, every redeploy wipes the host connection and the one-time # OAuth consent has to be redone. - fullhouse-api-data:/app/data volumes: fullhouse-api-data: