You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

54 lines
1.3 KiB

version: "3"
services:
jupyter:
image: jupyter/tensorflow-notebook:7f1482f5a136
container_name: jupyter-iss
command: start.sh jupyter lab --NotebookApp.base_url=/jupyter --NotebookApp.token='' --NotebookApp.password='' --NotebookApp.disable_check_xsrf=True
user: root
networks:
- netproxy
- default
volumes:
- "${PWD}:/home/jovyan/work"
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:iss.docker.lo;PathPrefix: /jupyter"
- "traefik.port=8888"
environment:
- NB_GID=1000
- NB_USER=jovyan
ports:
- 127.0.0.1:3000:3000
adminer:
image: adminer:4.7
container_name: adminer-iss
networks:
- netproxy
- default
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:iss.docker.lo;PathPrefix: /adminer"
- "traefik.port=8080"
- "traefik.main.frontend.entryPoints=http"
mysql:
image: mysql:8
container_name: mysql-iss
networks:
- default
volumes:
- "${PWD}/mysql:/var/lib/mysql"
environment:
MYSQL_DATABASE: iss
MYSQL_ROOT_PASSWORD: pass
MYSQL_USER: iss
MYSQL_PASSWORD: iss
labels:
- "traefik.enable=false"
networks:
netproxy:
external:
name: netproxy