Skip to content

Commit

Permalink
Update docker compose definition
Browse files Browse the repository at this point in the history
Update arangodb version.
Expose database to local network.
Use `ghcr` images instead of local builds.
Rename `setup` to `admin-cli`.
  • Loading branch information
daanboer committed Aug 7, 2024
1 parent 4849c87 commit bc020cc
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@
#
# SPDX-License-Identifier: AGPL-3.0-or-later

version: "3.0.0.beta.0"
name: lxcat

services:
database:
image: arangodb/arangodb:3.11.0
image: arangodb/arangodb:3.12.0
env_file: .env.production
restart: unless-stopped
ports:
- "127.0.0.1:8529:8529"
volumes:
- db-data:/var/lib/arangodb3
app:
build:
context: .
dockerfile: app/Dockerfile
args:
- LXCAT_BUILD_ENV=production
image: ghcr.io/lxcat-project/app:latest
env_file: .env.production
ports:
- "127.0.0.1:3000:3000"
Expand All @@ -24,10 +23,8 @@ services:
environment:
ARANGO_URL: http://database:8529
restart: unless-stopped
setup:
build:
context: .
dockerfile: packages/database/Dockerfile
admin-cli:
image: ghcr.io/lxcat-project/admin-cli:latest
command: []
env_file: .env.production
volumes:
Expand Down

0 comments on commit bc020cc

Please sign in to comment.