Giter Club home page Giter Club logo

Comments (1)

Tedezed avatar Tedezed commented on June 2, 2024

Yaml PrestaShop

apiVersion: v1
kind: Service
metadata:
  name: mysql-ps
  labels:
    provider: mysql-ps
    heritage: helm
spec:
  clusterIP: 10.254.210.20
  ports:
  - port: 3306
  selector:
    provider: mysql-ps
---
apiVersion: v1
kind: ReplicationController
metadata:
  name: mysql-ps
  labels:
    provider: mysql-ps
    heritage: helm
spec:
  replicas: 1
  template:
    metadata:
      labels:
        provider: mysql-ps
    spec:
      containers:
      - name: mysql-ps
        image: mysql
        env:
        - name: MYSQL_ROOT_PASSWORD
          value: pass
        ports:
        - containerPort: 3306
---
apiVersion: v1
kind: Service
metadata:
  name: prestashop
  labels:
    app: prestashop
    heritage: helm
spec:
  type: NodePort
  ports:
    - port: 80
      protocol: TCP
      name: http
  selector:
    app: prestashop
---
apiVersion: v1
kind: ReplicationController
metadata:
  name: prestashop
  labels:
    app: prestashop
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: prestashop
    spec:
      containers:
      - name: prestashop
        image: prestashop/prestashop:1.7
        ports:
        - containerPort: 80
        env:
          - name: DB_USER
            value: root
          - name: DB_PASSWD
            value: pass
          - name: PS_DEV_MODE
            value: "1"
          - name: DB_SERVER
            value: 10.254.210.20

from docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.