diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..33f5b2b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,19 @@ +version: "2" +services: + app: + build: . + links: + - db + ports: + - "8080:8080" + db: + image: mysql:8.0 + ports: + - "32000:3306" + environment: + MYSQL_ROOT_PASSWORD: root + MYSQL_DATABASE: curie + MYSQL_USER: curieweb + MYSQL_PASSWORD: curie-web-uwu + volumes: + - ./db:/docker-entrypoint-initdb.d/:ro |