diff options
Diffstat (limited to 'stacks/dav/compose.yml')
| -rw-r--r-- | stacks/dav/compose.yml | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/stacks/dav/compose.yml b/stacks/dav/compose.yml index fdc5b23..42d254f 100644 --- a/stacks/dav/compose.yml +++ b/stacks/dav/compose.yml @@ -1,34 +1,23 @@ -name: ${_STACK} +name: ${_STACK_0} networks: - net: - name: ${_NET} + edge-net: + name: ${_NET_0} external: true - intra: + db-net: + name: ${_NET_1} volumes: - data: - name: ${_DB_DATA_VOLUME} + dav-db: + name: ${_VOLUME_0} external: true services: - db: - container_name: ${_DB_CONTAINER} # Required for now. - image: postgres:16-alpine - networks: - - intra - env_file: - - .env - - .davis.env - - .db.env - volumes: - - data:/var/lib/postgresql/data - - davis: - container_name: ${_CONTAINER} + dav: + container_name: ${_CONTAINER_0} image: ghcr.io/tchapi/davis-standalone:latest env_file: - - .davis.env + - .run.env - .env networks: - net @@ -37,3 +26,14 @@ services: - 9000 depends_on: - db + dav-db: + container_name: ${_CONTAINER_1} # Required for now. + image: postgres:16 + networks: + - edge-net + - db-net + env_file: + - .run.env + - .env + volumes: + - dav-db:/var/lib/postgresql/data |
