Last active
November 26, 2021 03:25
-
-
Save cyantarek/a88b094c2ff76b9f08fcba4dadfa1389 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
api: | |
image: public.ecr.aws/x2y3y7d0/api:latest | |
restart: always | |
ports: | |
- "7000:7000" | |
proxy: | |
image: public.ecr.aws/x2y3y7d0/proxy:latest | |
restart: always | |
environment: | |
- TARGET_ADDRESS=mongo:27017 | |
- ENVIRONMENT=dev | |
ports: | |
- "6000:6000" | |
mongo: | |
image: mongo:5.0 | |
restart: always | |
environment: | |
- MONGO_INITDB_ROOT_USERNAME=root | |
- MONGO_INITDB_ROOT_PASSWORD=root | |
volumes: | |
- mongodb:/etc/mongo | |
ports: | |
- "27017:27017" | |
redis: | |
image: redis:6.2 | |
restart: always | |
environment: | |
- MONGO_INITDB_ROOT_USERNAME=root | |
- MONGO_INITDB_ROOT_PASSWORD=root | |
volumes: | |
- mongodb:/usr/local/etc/redis | |
ports: | |
- "6379:6379" | |
volumes: | |
mongodb: | |
redis: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment