Sign inSign up

opencell/alpine-opencell

By opencell

•Updated over 9 years ago

Opencell billing using alpine image [DEPRECATED, use only for old opencell version >4.5]

Image
1

637

opencell/alpine-opencell repository overview

⁠This image need to be used with postgresql

Env var : APP_LOG_LEVEL: need to be one of : none,debug,dev,prod DB_USER: db user DB_PASSWORD: db user password DB_NAME: db name DB_HOST: db hostname / ip DB_PORT: db port number

Optional to configure smtp with gmail or google apps : GMAIL_USER: [email protected]⁠ // google app or gmail adresse GMAIL_PASS: password

Link your db with name postgres

Need to mount war file like ./files/meveo.war:/opt/jboss/standalone/deployments/meveo.war

⁠Here is sample docker-compose.yml file :

# docker-compose.yml V2
version: '2'
services:

  jboss:
    image: opencell/alpine-opencell
    container_name: opencell
    depends_on:
      - postgres
    environment:
      # you can set to none,prod,dev,debug
      APP_LOG_LEVEL: dev
      DB_HOST: postgres
      DB_NAME: opencell_db
      DB_PASSWORD: opencell_db_password
      DB_USER: opencell_db_user
      DB_PORT: 5432
    links:
      - postgres:postgres
    ports:
    # You can access opencell application using port 8080 or you can change it
      - 8080:8080
    volumes:
      - $PWD/input-files/meveo.war:/opt/jboss/standalone/deployments/meveo.war
      # create input-files dir and put http://opencellsoft.com/dl/current/meveo.war in
      - $PWD/output-files/logs:/opt/jboss/standalone/log
      - $PWD/output-files/opencelldata:/opt/jboss/opencelldata
      - jboss-conf:/opt/jboss/standalone/configuration


  postgres:
    image: kiasaki/alpine-postgres
    container_name: postgres
    environment:
      LC_ALL: C.UTF-8
      POSTGRES_DB: opencell_db
      POSTGRES_PASSWORD: opencell_db_password
      POSTGRES_USER: opencell_db_user
      POSTGRES_PORT: 5432
    volumes:
      - $PWD/input-files/import-postgres.sql:/docker-entrypoint-initdb.d/import-postgres.sql
    # In input-files dir  put http://opencellsoft.com/dl/current/import-postgres.sql
    # Uncomment 2 lines under this one if you need direct connection to postgresql (credentials are few lines under)
    #ports:
    #  - 5432:5432

  adminer:
    image: opencell/alpine-adminer
    container_name: adminer
    depends_on:
      - postgres
    environment:
      DB_DRIVER: pgsql
      DB_HOST: postgres
      DB_NAME: opencell_db
      DB_PASSWORD: opencell_db_password
      DB_USER: opencell_db_user
      DB_PORT: 5432
    links:
      - postgres:postgres
    ports:
    # You can access adminer (postgres bd GUI) using port 8081 or you can change it
      - 8081:8080

  weblogs:
    image: opencell/alpine-tailon
    container_name: weblogs
    depends_on:
      - jboss
    ports:
      - 8082:8080
    volumes:
      - $PWD/output-files/logs:/logs/

volumes:
  jboss-conf: {}

Tag summary

Content type

Image

Digest

Size

177.7 MB

Last updated

over 9 years ago

docker pull opencell/alpine-opencell