Created
November 27, 2021 11:26
-
-
Save rjpkuyper/8dd2d700471b8376795263f4323ad9da 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.9' | |
services: | |
server: | |
image: ubuntu:20.04 | |
container_name: server | |
tty: true | |
stdin_open: true | |
depends_on: | |
- mongo | |
- postgres | |
- redis | |
command: bash | |
mongo: | |
image: mongo | |
environment: | |
MONGO_INITDB_DATABASE: my-database | |
redis: | |
image: redis | |
postgres: | |
image: postgres | |
environment: | |
POSTGRES_DB: my-db | |
POSTGRES_USER: my-user | |
POSTGRES_PASSWORD: my-pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment