Docker-Swarm-Loadbalancer/bouncer/docker-compose.yml

46 lines
1 KiB
YAML
Raw Normal View History

version: "3.4"
services:
bouncer:
2022-05-05 14:42:53 +00:00
image: bouncer
build:
context: .
target: bouncer
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./:/app
2022-05-05 14:42:53 +00:00
# environment:
# - BOUNCER_LETSENCRYPT_MODE=staging
# - BOUNCER_LETSENCRYPT_EMAIL=matthew@baggett.me
# - BOUNCER_S3_ENDPOINT=http://grey.ooo:9000
# - BOUNCER_S3_KEY_ID=geusebio
# - BOUNCER_S3_KEY_SECRET=changeme
# - BOUNCER_S3_BUCKET=bouncer-certificates
# - BOUNCER_S3_USE_PATH_STYLE_ENDPOINT="yes"
ports:
- 127.0.99.100:80:80
- 127.0.99.100:443:443
web-a:
2022-05-05 14:42:53 +00:00
image: test-app-a
build:
context: .
target: test-app-a
volumes:
- ./test/public-web-a:/app/public
environment:
- BOUNCER_DOMAIN=a.web.grey.ooo
2022-05-05 14:42:53 +00:00
# - BOUNCER_LETSENCRYPT=true
web-b:
image: test-app-b
build:
context: .
target: test-app-b
volumes:
- ./test/public-web-b:/app/public
environment:
- BOUNCER_DOMAIN=b.web.grey.ooo
# - BOUNCER_LETSENCRYPT=true