Removed legacy docker files.
This commit is contained in:
parent
e3c3052bce
commit
2e183163d4
@ -1,5 +0,0 @@
|
||||
FROM mongo as base
|
||||
|
||||
EXPOSE 27017
|
||||
|
||||
CMD ["mongod"]
|
@ -1,24 +0,0 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
mongodb:
|
||||
container_name: mongodb
|
||||
image: mongodb
|
||||
restart: always
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
target: base
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: ${DATABASE_USERNAME}
|
||||
MONGO_INITDB_ROOT_PASSWORD: ${DATABASE_PASSWORD}
|
||||
ports:
|
||||
- ${DATABASE_PORT}:${DATABASE_PORT}
|
||||
expose:
|
||||
- "${DATABASE_PORT}"
|
||||
networks:
|
||||
- docker
|
||||
|
||||
networks:
|
||||
docker:
|
||||
external: true
|
Loading…
x
Reference in New Issue
Block a user