Created
February 23, 2020 13:10
-
-
Save aoirint/daf71ec482117132d56bc669190238d8 to your computer and use it in GitHub Desktop.
App + strapi + selenium + mariadb
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' | |
| services: | |
| app: | |
| build: ./app | |
| restart: always | |
| tty: true | |
| volumes: | |
| - ./app:/code | |
| depends_on: | |
| - selenium | |
| - strapi | |
| strapi: | |
| image: strapi/strapi | |
| restart: always | |
| ports: | |
| - 127.0.0.1:1337:1337 | |
| volumes: | |
| - ./strapi:/srv/app | |
| env_file: | |
| - .env.strapi | |
| depends_on: | |
| - db | |
| selenium: | |
| image: selenium/standalone-chrome | |
| restart: always | |
| # remote driver: http://selenium:4444/wd/hub | |
| db: | |
| image: mariadb | |
| # image: jsurf/rpi-mariadb | |
| restart: always | |
| command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci | |
| volumes: | |
| - ./db:/var/lib/mysql | |
| env_file: | |
| - .env.mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment