Skip to content

Commit

Permalink
Build on pull
Browse files Browse the repository at this point in the history
  • Loading branch information
stanriders committed Oct 15, 2024
1 parent 5f8f3e7 commit 7ddbf04
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ services:
networks:
- main
- logs
restart: unless-stopped
pull_policy: build

frontend:
build: ./frontend/.
Expand All @@ -40,6 +42,8 @@ services:
- ./logs/frontend/npm:/root/.npm/_logs
networks:
- main
restart: unless-stopped
pull_policy: build

redis:
image: redis
Expand All @@ -50,6 +54,7 @@ services:
- ./logs/redis:/var/log/redis
networks:
- main
restart: unless-stopped

mongodb:
image: mongo:latest
Expand All @@ -64,3 +69,4 @@ services:
- ./logs/mongo:/var/log/mongodb
networks:
- main
restart: unless-stopped

0 comments on commit 7ddbf04

Please sign in to comment.