Compare commits

..

No commits in common. '539ff5e2e566d90a3868583d514db975cb3c736d' and '7e15e570dbe26e5762c0423f1dda68a671a2e4da' have entirely different histories.

  1. 2
      Dockerfile
  2. 15
      docker-compose-dev.yaml

@ -15,5 +15,5 @@ RUN apt-get update && apt-get install -y \
COPY requirements.txt requirements.txt COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
EXPOSE 5000 EXPOSE 5000
COPY . .
CMD ["flask", "run","--debugger"] CMD ["flask", "run","--debugger"]

@ -1,16 +1,16 @@
version: "3" version: "3.3"
services: services:
mongo: mongo:
image: mongo image: mongo
restart: always
environment: environment:
MONGO_INITDB_ROOT_USERNAME: xcoder MONGO_INITDB_ROOT_USERNAME: xcoder
MONGO_INITDB_ROOT_PASSWORD: 4dun4710 MONGO_INITDB_ROOT_PASSWORD: 4dun4710
volumes: volumes:
- mongo_data:/data/db/ - ./mongo_data_dir/:/data/db/
mongo-express: mongo-express:
image: mongo-express image: mongo-express
restart: always
ports: ports:
- 8081:8081 - 8081:8081
environment: environment:
@ -19,16 +19,13 @@ services:
ME_CONFIG_OPTIONS_EDITORTHEME: ambiance ME_CONFIG_OPTIONS_EDITORTHEME: ambiance
ME_CONFIG_BASICAUTH_USERNAME: xcoder ME_CONFIG_BASICAUTH_USERNAME: xcoder
ME_CONFIG_BASICAUTH_PASSWORD: 4dun4710 ME_CONFIG_BASICAUTH_PASSWORD: 4dun4710
web: web:
build: . build: .
ports: ports:
- 5000:5000 - "5000:5000"
environment: environment:
ADUNATIO_PRIV_KEY: /code/privkey.pem ADUNATIO_PRIV_KEY: /code/privkey.pem
FLASK_DEBUG: 1 FLASK_DEBUG: 1
volumes: volumes:
- .:/code - .:/code
volumes:
mongo_data:
Loading…
Cancel
Save