Skip to content

Instantly share code, notes, and snippets.

@haohaolee
Last active November 8, 2020 13:15
Show Gist options
  • Save haohaolee/1d05d469793c809801fcb09dc933d3b2 to your computer and use it in GitHub Desktop.
Save haohaolee/1d05d469793c809801fcb09dc933d3b2 to your computer and use it in GitHub Desktop.
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