Skip to content

Commit

Permalink
build: update api and portal docker compose for consistent naming (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
LakshayaT authored May 8, 2024
1 parent 984c33e commit 7cb596d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions apps/api/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
version: '3'
services:
osmox-api:
image: osmox-api
container_name: osmox-api
build:
context: .
Expand All @@ -13,7 +14,7 @@ services:
environment:
NODE_ENV: production

mariadb:
osmox-mariadb:
container_name: osmox-mariadb
image: mariadb:latest
restart: always
Expand All @@ -25,14 +26,14 @@ services:
ports:
- '127.0.0.1:${MARIADB_DOCKER_PORT}:3306'
volumes:
- osmox-db:/var/lib/mysql
- osmox-mariadb-data:/var/lib/mysql

redis:
osmox-redis:
container_name: osmox-redis
image: redis:latest
restart: always
ports:
- '127.0.0.1:${REDIS_DOCKER_PORT}:6379'

volumes:
osmox-db: ~
osmox-mariadb-data: ~
1 change: 1 addition & 0 deletions apps/portal/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ services:
context: .
dockerfile: Dockerfile
image: osmox-portal
container_name: osmox-portal
ports:
- '127.0.0.1:${SERVER_PORT}:80'

0 comments on commit 7cb596d

Please sign in to comment.