Inspirert av DevDNS, men med Varnish istedet for DNS
**docker-compose.yml**
bolton:
build: ../../bolton
env_file:
- ./common.env
net: localhost.api.no
bazaar:
build: ../../bazaar/
env_file:
- ./common.env
net: localhost.api.no
[...]
varnish:
container_name: bed
build: ./varnish
ports:
- "3939:3939"
net: localhost.api.no
env_file:
- ./varnish_localconf.env
environment:
USE_LOCAL: 'maelstrom,arkham,bolton,bazaar,kingsport,gaia,[...]'
USE_BED_PROD: 'magus,acpcomposer'
gaia:
build: ./gaiaish
net: localhost.api.no
env_file:
- ./common.env
environment:
GAIA_URL: http://varnish-local.api.no/gaia
OVERRIDES: |
services.service.address = http://bed.localhost.api.no:3939
**common.env**
GAIA_URL=http://bed.localhost.api.no:3939/gaia
V3_CONFIG_HOME=/etc/api/
LOG_LEVEL=debug
API_SERVER_NAME='rocksteady'