Skip to content

Instantly share code, notes, and snippets.

@aoirint
Created February 23, 2020 13:10
Show Gist options
  • Save aoirint/daf71ec482117132d56bc669190238d8 to your computer and use it in GitHub Desktop.
Save aoirint/daf71ec482117132d56bc669190238d8 to your computer and use it in GitHub Desktop.
App + strapi + selenium + mariadb
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