Created
June 26, 2020 15:27
-
-
Save Inkimar/8b304d12d10fb91ea30bbb894efa9bb7 to your computer and use it in GitHub Desktop.
docker-compose
This file contains 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.7' | |
services: | |
naturalist: | |
image: inkimar/naturalist:0.3.2 | |
container_name: betanaturalist | |
restart: always | |
environment: | |
- VIRTUAL_HOST=beta.naturforskaren.se | |
- VIRTUAL_PORT=8080 | |
- JAVA_OPTS= -server -XX:+UseCompressedOops -server -XX:+UseCompressedOops -Xms128m -Xmx4g -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true | |
volumes: | |
- /opt/data/nf/vffmedia:/opt/data/nf/vffmedia/ | |
- /opt/data/nf/maps:/opt/data/nf/maps/ | |
external_links: | |
- nfdatabase:nfdatabase | |
nfdb: | |
image: mysql:5.7.30 | |
container_name: nfdb | |
ports: | |
- "3306:3306" | |
restart: always | |
environment: | |
- VIRTUAL_HOST=db.naturforskaren.se #needs runnning proxy | |
- TZ=Europe/Stockholm | |
- MYSQL_ROOT_PASSWORD=supersecret | |
- MYSQL_DATABASE=taxonpages_v2 | |
- MYSQL_USER=mediaserver | |
- MYSQL_PASSWORD=mediaserver | |
volumes: | |
- ./db/mysql_media-datadir:/var/lib/mysql:z | |
- ./db/mysql_media-shr:/shr:z | |
- ./db/mysql_media-autoload:/docker-entrypoint-initdb.d:ro | |
networks: | |
default: | |
external: | |
name: proxy_defaul |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment