Last active
May 1, 2021 22:43
-
-
Save valmirphp/699e6f25e22fcb032119fb1836f11df1 to your computer and use it in GitHub Desktop.
docker-compose sysgaming
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.4' | |
services: | |
mongodb: | |
image: mongo:latest | |
container_name: sysgaming_mongo | |
restart: on-failure | |
environment: | |
MONGO_INITDB_DATABASE: sysgaming | |
MONGO_INITDB_ROOT_USERNAME: fernando | |
MONGO_INITDB_ROOT_PASSWORD: 1234 | |
ports: | |
- 27017:27017 | |
volumes: | |
- mongodb_data:/data/db | |
mongoui: | |
image: mongo-express:latest | |
container_name: sysgaming_mongo-express | |
restart: on-failure | |
ports: | |
- 8081:8081 | |
environment: | |
ME_CONFIG_OPTIONS_EDITORTHEME: ambiance | |
ME_CONFIG_MONGODB_SERVER: mongodb | |
ME_CONFIG_MONGODB_ADMINUSERNAME: fernando | |
ME_CONFIG_MONGODB_ADMINPASSWORD: 1234 | |
volumes: | |
mongodb_data: | |
name: sysgaming_mongo_data | |
external: true | |
networks: | |
default: | |
external: | |
name: sysgaming_network |
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.4' | |
services: | |
db: | |
image: postgres:latest | |
container_name: sysgaming_postgres | |
restart: on-failure | |
ports: | |
- 5432:5432 | |
environment: | |
POSTGRES_DB: sysgaming | |
POSTGRES_USER: fernando | |
POSTGRES_PASSWORD: 1234 | |
volumes: | |
- pgsql_data:/var/lib/postgresql/data | |
adminer: | |
image: adminer:latest | |
container_name: sysgaming_adminer | |
restart: on-failure | |
ports: | |
- 8082:8080 | |
environment: | |
ADMINER_DEFAULT_SERVER: db | |
ADMINER_DESIGN: nette | |
volumes: | |
pgsql_data: | |
name: sysgaming_pgsql_data | |
external: true | |
networks: | |
default: | |
external: | |
name: sysgaming_network |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment