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
server:
build: ../server
build: ./server
restart: always
ports:
- 8080:8080
environment:
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:
- omega
client:
build: ../client
build: ./client
restart: always
ports:
- 80:80
environment:
API_BASE_PATH: http://server:8080
API_BASE_PATH: http://localhost:8080
networks:
- omega
networks:

Loading…
Cancel
Save