mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-07-20 20:10:55 +02:00
chore: improve docker-compose image
This commit is contained in:
+1
-3
@@ -6,7 +6,6 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
command: nodemon --transpile-only index.ts
|
command: nodemon --transpile-only index.ts
|
||||||
image: tdurieux/anonymous_github:v2
|
image: tdurieux/anonymous_github:v2
|
||||||
container_name: anonymous_github
|
|
||||||
env_file:
|
env_file:
|
||||||
- ./.env
|
- ./.env
|
||||||
environment:
|
environment:
|
||||||
@@ -14,9 +13,8 @@ services:
|
|||||||
- DB_HOSTNAME=mongodb
|
- DB_HOSTNAME=mongodb
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
# - ./repositories:/app/repositories
|
|
||||||
ports:
|
ports:
|
||||||
- 5000:$PORT
|
- $PORT:$PORT
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
- CMD
|
- CMD
|
||||||
|
|||||||
Reference in New Issue
Block a user