Last active
November 8, 2020 13:15
-
-
Save haohaolee/1d05d469793c809801fcb09dc933d3b2 to your computer and use it in GitHub Desktop.
This file contains 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.7" | |
services: | |
frontend: | |
image: haohaolee/insecurity-frontend:latest_en | |
restart: on-failure | |
ports: | |
- "3001:80" | |
backend: | |
image: haohaolee/insecurity-backend:latest_en | |
environment: | |
SPRING_PROFILES_ACTIVE: docker | |
restart: on-failure | |
ports: | |
- "8081:8080" | |
db: | |
image: mysql:5.7 | |
environment: | |
MYSQL_DATABASE: insecurity | |
MYSQL_ROOT_PASSWORD: root | |
restart: always | |
ports: | |
- "3306:3306" | |
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment