Skip to content

Commit

Permalink
Update docker-compose.example.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Jan 22, 2022
1 parent f6fbc2c commit 1fb2795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ services:
reactmap:
image: ghcr.io/watwowmap/reactmap:main
container_name: reactmap
command: sh -c "yarn migrate:latest && yarn start"

This comment has been minimized.

Copy link
@Fabio1988

Fabio1988 Jan 22, 2022

Contributor

Is migrate:latest not needed anymore? How to run migrations instead? :)

command: sh -c "yarn start"
restart: unless-stopped
volumes:
- ./server/src/configs/areas.json:/home/node/server/src/configs/areas.json
- ./server/src/configs/local.json:/home/node/server/src/local/config.json
- ./server/src/configs/local.json:/home/node/server/src/configs/local.json
- ./example.env:/home/node/.env
ports:
- "9090:8080"

0 comments on commit 1fb2795

Please sign in to comment.