---
# docker-compose file for picture gallery

# docker login dkregistry.xai-corp.net:5000
# docker-compose build && docker push dkregistry.xai-corp.net:5000/xaicorp/gallery:latest

# DOCKER_HOST=dkmanager:2376 docker stack deploy -c docker-compose.yml gallery
# DOCKER_HOST=dkmanager:2376 docker stack ps gallery

version: '3.4'
services:

  gallery:
    image: "mkodockx/docker-picture-gallery"
    ports:
      - 8085:80
#    volumes:
#      - /opt/pg/:/uploads/
#      - /your-path/data/:/data/

#    logging:
#      driver: fluentd
#      options:
#        fluentd-address: "logs.xai-corp.net:24224"
#        fluentd-async-connect: 'true'
#        tag: postgres



#create database gallery;
#create user gallery_user;
#
#grant all privileges on gallery.* to 'gallery_user'@'%' identified by 'aqioch3i12oh0cba';
