Browse Source

Fix docker-compose

master
Garrit Franke 4 years ago
parent
commit
32d1ef9847
  1. 8
      docker-compose.yml

8
docker-compose.yml

@ -15,23 +15,23 @@ services:
- omega - omega
server: server:
build: ../server build: ./server
restart: always restart: always
ports: ports:
- 8080:8080 - 8080:8080
environment: environment:
AUTH_SECRET: mysecretl AUTH_SECRET: mysecretl
DATABASE_URL: mongodb://root:example@mongo/omega?retryWrites=true&w=majority DATABASE_URL: mongodb://root:example@localhost:27017/omega?retryWrites=true&w=majority
networks: networks:
- omega - omega
client: client:
build: ../client build: ./client
restart: always restart: always
ports: ports:
- 80:80 - 80:80
environment: environment:
API_BASE_PATH: http://server:8080 API_BASE_PATH: http://localhost:8080
networks: networks:
- omega - omega
networks: networks:

Loading…
Cancel
Save