Skip to content

Commit

Permalink
save version running and integrate to vscode build
Browse files Browse the repository at this point in the history
  • Loading branch information
josemotta committed Jun 27, 2020
1 parent 294df6e commit a1dac67
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions docker-compose.v1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
version: "3.7"
services:
db:
image: mysql:8.0.19
command: '--default-authentication-plugin=mysql_native_password'
restart: always
secrets:
- db-password
volumes:
- db-data:/var/lib/mysql
networks:
- graph
environment:
- MYSQL_DATABASE=example
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password

app:
build: app
restart: always
volumes:
- ./app/src:/src
secrets:
- db-password
ports:
- 5000:5000
- 5678:5678
networks:
- graph
- frontnet

web:
build: web
restart: always
ports:
- 80:80
networks:
- frontnet
volumes:
db-data:
secrets:
db-password:
file: db/password.txt
networks:
graph:
external: true
frontnet:

0 comments on commit a1dac67

Please sign in to comment.