Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i need a composefile for osticket and its database #58

Open
mobehairy opened this issue Mar 28, 2019 · 4 comments
Open

i need a composefile for osticket and its database #58

mobehairy opened this issue Mar 28, 2019 · 4 comments

Comments

@mobehairy
Copy link

No description provided.

@PromoFaux
Copy link

PromoFaux commented Jul 17, 2019

Here is what I am using, obviously replace out secret with your own secure passwords/secrets!

version: '3.4'
services:
  mysql:
    container_name: mysql
    restart: unless-stopped
    image: mysql:5.7.22
    environment:
      MYSQL_ROOT_PASSWORD: secret
      MYSQL_DATABASE: osticket
      MYSQL_PASSWORD: secret
      MYSQL_USER: osticket
    volumes:
      - ./mysql/:/var/lib/mysql
    ports:
      - 3306:3306

  osticket:
    container_name: osticket
    restart: unless-stopped
    image: campbellsoftwaresolutions/osticket
    depends_on:
      - mysql
    environment:
      INSTALL_SECRET: secret
      MYSQL_HOST: mysql
      MYSQL_PASSWORD: secret
      CRON_INTERVAL: 1
    ports:
    - 8080:80

@mobehairy
Copy link
Author

Thank you :)

@WilfredLemus
Copy link

Thank, here my little contribution: https://gist.github.com/WilfredLemus/a827e9cd3f151d9e0147c4dd5ff2bdab

@PromoFaux
Copy link

PromoFaux commented Mar 6, 2020

Whoops, I just realised I have image in there twice for the osticket container Nothing to see here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants