Skip to content

Instantly share code, notes, and snippets.

@klamping
Last active December 27, 2022 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klamping/669d63c7f7f712b27bcfc611b22ec41c to your computer and use it in GitHub Desktop.
Save klamping/669d63c7f7f712b27bcfc611b22ec41c to your computer and use it in GitHub Desktop.
Learn WebdriverIO Docker Compose
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