Last active
December 27, 2022 17:18
-
-
Save klamping/669d63c7f7f712b27bcfc611b22ec41c to your computer and use it in GitHub Desktop.
Learn WebdriverIO Docker Compose
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: | |
web: | |
container_name: realworld-web | |
restart: always | |
image: klamping/realworld-web | |
environment: | |
- APIURL=local | |
ports: | |
- "8080:8080" | |
depends_on: | |
- api | |
api: | |
container_name: realworld-api | |
restart: always | |
image: klamping/realworld-api | |
environment: | |
- NODE_ENV=production | |
- SECRET=hunter2 | |
- MONGODB_URI=mongodb://mongo:27017/conduit | |
ports: | |
- "3000:3000" | |
depends_on: | |
- mongo-seed | |
mongo-seed: | |
restart: on-failure | |
network_mode: host | |
image: klamping/realworld-mongo-seed | |
depends_on: | |
- mongo | |
mongo: | |
container_name: realworld-mongo | |
image: mongo:5.0.13 | |
ports: | |
- "27017:27017" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment