Defined top level name for all services Added proxy-net to services Updated main service/server container service name to "app" Updated hostname references to projectname-app-1 Updated docker Caddy caddyfile to reference container names Updated docker Caddy caddyfile to use 192.168.1.234 instead of localhost for non-docker services Adjusted caddyfile accordingly
18 lines
437 B
YAML
18 lines
437 B
YAML
name: orbital-sync
|
|
services:
|
|
app:
|
|
image: mattwebbio/orbital-sync:1
|
|
restart: unless-stopped
|
|
networks:
|
|
- proxy-net
|
|
environment:
|
|
PRIMARY_HOST_BASE_URL: 'http://192.168.1.234:1080'
|
|
PRIMARY_HOST_PASSWORD: ""
|
|
SECONDARY_HOSTS_1_BASE_URL: 'http://192.168.1.116'
|
|
SECONDARY_HOSTS_1_PASSWORD: 'e8JBq59!pwM6Ppj'
|
|
INTERVAL_MINUTES: 60
|
|
VERBOSE: true
|
|
|
|
networks:
|
|
proxy-net:
|
|
external: true |