Skip to content

Commit

Permalink
remove dev stack
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueHorn07 committed Mar 17, 2024
1 parent 523a699 commit 2a2ae4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 31 deletions.
23 changes: 3 additions & 20 deletions docker-stack.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,8 @@
version: '3.3'
services:
dev:
image: 151345152001.dkr.ecr.ap-northeast-2.amazonaws.com/poapper-api:latest
ports:
- 6001:4000
secrets:
- source: poapper_api_dot_env
target: /usr/src/app/.env
logging:
driver: local
options:
max-size: 10m
deploy:
labels:
swarmpit.service.deployment.autoredeploy: 'true'
placement:
constraints:
- node.role != manager
- node.labels.application == poapper_web
prod:
image: 151345152001.dkr.ecr.ap-northeast-2.amazonaws.com/poapper-api:vX.X.X
# image: 151345152001.dkr.ecr.ap-northeast-2.amazonaws.com/poapper-api:vX.X.X
image: 151345152001.dkr.ecr.ap-northeast-2.amazonaws.com/poapper-api:latest
ports:
- 4001:4000
secrets:
Expand All @@ -35,7 +18,7 @@ services:
placement:
constraints:
- node.role != manager
- node.labels.application == poapper_web
- node.labels.application == popo

secrets:
poapper_api_dot_env:
Expand Down
11 changes: 0 additions & 11 deletions nginx/poapper-api-dev.nginx

This file was deleted.

0 comments on commit 2a2ae4c

Please sign in to comment.